Three-state differential data transmission with self latching ability

ABSTRACT

Digital data transmission using three logic states on a differential pair of signal lines. The three states are: a first line a threshold higher than a second line, the second line a threshold higher than the first line, and when both lines are approximately equal. The presence of three states allows the receiving circuit to recognize the beginning and end of a valid data bit. A receiving circuit using two comparators to generate strobes for latching the data is also disclosed. The strobes also clock a counter whose output is fed to a decoder. The output of the decoder is used to select one of N latches that are used to latch the incoming data.

FIELD OF THE INVENTION

[0001] The present invention relates generally to the electronic transmission of digital data and more particularly to the transmission of digital data between two or more devices or integrated circuits.

BACKGROUND OF THE INVENTION

[0002] In electronic devices using digital logic, digital data must be communicated from one circuit to another. This communication may take many forms including computer to computer, PC board to PC board, chip to chip, and between circuits on the same chip. As digital electronics have gotten faster, the speed at which these circuits communicate has increased. To communicate at these increased bandwidths, the time that data can be held valid on a given signal is decreased. As the data valid time is decreased, timing differences between these separate signals become large relative to the time data is valid on those signals. If one of these signals is a clock or other signal whose relationship to another signal is critical for proper communication, erroneous or incorrect data may be latched into the receiving circuit.

[0003] Accordingly, there is a need in the art for an improved method of communicating digital data that increases the length of time available for a circuit to read data without reducing the amount of data communicated. To ensure broad application, it is desirable that this method be adaptable to different data rates and timing differences. Finally, it is desirable that this method be adaptable to different circuit technologies and environments.

SUMMARY OF THE INVENTION

[0004] In a preferred embodiment, the invention transfers data using three logic states on a differential pair of wires. The three states are: a first line a threshold higher than a second line, the second line a threshold higher than the first line, and when both lines are approximately equal. The presence of three states allows the receiving circuit to recognize the beginning and end of a valid data bit.

[0005] In a preferred embodiment, two states are used to generate two strobes. One strobe will be active when the first line is greater than the second and the other strobe will be when the second line is greater than the first. When both lines are approximately equal, neither strobe is active. The strobes are used to increment a counter, and latch in a logical high or a logical low depending on which strobe is active. The counter is used to determine which register is to latch in the logical high or the logical low. This allows the register to hold the logical high or logical low for N times as long, where N is the number of registers used to hold data received via this pair of differential wires.

BRIEF DESCRIPTION OF THE DRAWINGS

[0006]FIG. 1 is a timing diagram illustrating an embodiment of the three-state differential data transfer and strobes.

[0007]FIG. 2 is a schematic illustration of an embodiment that may be used to receive the three-state data.

[0008]FIG. 3 is a timing diagram giving an exemplary illustration of the operation of the strobes, the data transferred, and the outputs of the circuit shown in FIG. 2.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009]FIG. 1 is a timing diagram showing an embodiment of the three-state differential data transfer. The differential data lines are labeled A and B. Exemplary signals on A and B are shown plotted verses time. The signals on A and B may be either voltage changes, or current changes. In the preferred embodiment, they are voltage changes.

[0010] In FIG. 1, the signals on A and B return to an intermediate state after each data bit is sent. While each data bit is being sent, the signals on A and B are driven in opposite directions. If A is driven more positive, then B is driven more negative and visa versa. When these signals reach the receiving circuit, the receiving circuit detects the signal differential, and the polarity of that differential and uses that information to latch a 1 or a 0. The fact that there is a signal differential indicates that a data bit is being sent. This information may be used to generate a strobe, or clock that latches the data bit being sent. The polarity of the signal differential indicates the value of that bit.

[0011] An embodiment showing the generation of a strobe for latching a 1 and a separate strobe for latching a 0 are shown. When the signal on line A is higher than the signal on line B, an active low strobe is generated called STROBE—P. This signal may be used to set a flip-flop to a logical 1. This, in essence, latches in a data bit with a value of 1. When the signal on line b is higher than the signal on line a, an active low strobe is generated called STROBE_N. This signal may be used to set a flip-flop to a logical 0. This, in essence, latches in a data bit with a value of 0.

[0012] As stated above, if A is driven more positive, then B is driven more negative and visa versa. Other possibilities are to keep one line the same and drive the other. The non-driven line could be kept at an intermediate level, or at a logical 1 or 0. Both of these would create the necessary signal differential, and equality on A and B. The embodiment shown, however, has the advantage over these other options in that each line is driven with less signal strength (which is easier to do) but still produces a maximum amount of differential signal at the receiving end (which is easier to detect reliably, especially when there is noise on the lines).

[0013]FIG. 2 is a schematic illustration of an embodiment that may be used to receive the three-state data. The input to the circuit are the signal lines A and B. A is coupled to the inverting input of comparator 302 and the non-inverting input of comparator 304. B is coupled to the non-inverting input of comparator 302 and the inverting input of comparator 304. The output of comparator 302 is the signal STROBE_P. The output of comparator 304 is signal STROBE_N.

[0014] Comparators 302 and 304 have a specified threshold voltage, V,. This threshold voltage prevents the outputs of comparators 302 and 304 (STROBE_P and STROBE_N, respectively) from changing from a high state to a low state unless the inverting input of that comparator is at least Vt volts higher than the non-inverting input. This ensures that STROBE_P and STROBE_N are both high when the signal differential between A and B is less than V_(t).

[0015] STROBE_P and STROBE_N are each connected to one input of AND gate 306. The output of AND gate 306 is connected to the clock input of two-bit counter 308. When the output of AND gate 306 goes high as either STROBE—P or STROBE—N returns high, counter 308 increments its output. The output of counter 308 rolls-over to 00 when incremented from 11. The output of counter 308 is coupled to the input of 2-to-4 decoder 310. The output of decoder 310 is four enable lines, EN0, EN1, EN2, and EN3. Only one of these lines is active at a time. The line that is active is determined by the value input to the decoder 310 by counter 308. The enable lines EN0, EN1, EN2, and EN3 are coupled to the enable inputs of flip-flops 312, 314, 316, and 318, respectively. This means that at any given time, only one of flip-flops 312, 314, 316, and 318, can be set or reset.

[0016] STROBE_P is coupled to the set input of each of flip-flops 312, 314, 316, and 318. STROBE_N is coupled to the reset input of each of flip-flops 312, 314, 316, and 318. Accordingly, when STROBE_P fires, (goes low) it will cause the one flip-flop of flip-flops 312, 314, 316, and 318 selected by the one signal of EN0, EN1, EN2, and EN3 that is active to be set to a 1. Likewise, when STROBE—N fires, (goes low) it will cause the one flip-flop of flip-flops 312, 314, 316, and 318 selected by the one signal of EN0, EN1, EN2, and EN3 that is active to be set to a 0. The outputs of flip-flops 312, 314, 316, and 318 are signals L0, L1, L2, and L3, respectively.

[0017]FIG. 3 is a timing diagram giving an exemplary illustration of the operation of the strobes, the data transferred, and the outputs of the circuit shown in FIG. 2. The dashed lines in FIG. 3 illustrate that signals L0, L1, L2, and L3 are unknown in this diagram before they have been set or reset for the first time. Shown in FIG. 3 is the data stream “10010110” being received. STROBE_P fires each time a data bit with a value of 1 is sent. STROBE_N fires each time a data bit with a value of 0 is sent. As the first data bit is received, STROBE—P sets flip-flop 312 causing L0 to go from an unknown state to a logical 1. As the second data bit is received, STROBE_N resets flip-flop 314 causing L1 to go from an unknown state to a logical 0. As the third data bit is received, STROBE_N resets flip-flop 316 causing L2 to go from an unknown state to a logical 0. As the fourth data bit is received, STROBE_P sets flip-flop 316 causing L3 to go from an unknown state to a logical 1. As the fifth data bit is received, STROBE_N resets flip-flop 312 causing L0 to go from an logical 1 to a logical 0. As the sixth data bit is received, STROBE_P sets flip-flop 314 causing L1 to go from a logical 0 to a logical 1. As the seventh data bit is received, STROBE_P sets flip-flop 316 causing L2 to go from logical 0 to a logical 1. As the eighth data bit is received, STROBE_N resets flip-flop 316 causing L3 to go from a logical 1 to a logical 0.

[0018] From FIG. 3, it can be seen that each bit of data is held at the output of the flip-flops for four times the duration of a single incoming data bit. If another flip-flop is added, then the data at the output of each of the flip-flops will be held for an additional duration of an incoming data bit. This allows the data window for the receiving circuit to read the data from the receiver to be as wide as needed. This allows for the receiving circuit to operate at a different clock speed, or to have an internal clock that is uncorrelated with the clock of the sending circuit. Finally, it should be appreciated that the invention translates a serial bit stream to a parallel word with a width corresponding to the number of flip-flops.

[0019] Although a specific embodiment of the invention has been described and illustrated, the invention is not to be limited to the specific forms or arrangements of parts so described and illustrated. The invention is limited only by the claims. 

What is claimed is:
 1. Digital data transmission, comprising: a first signal line having a first signal wherein said first signal assumes a first signal value when a first data bit value is being transmitted and said first signal assumes a second signal value when a second data bit value is being transmitted and said first signal assumes a third signal value when no data is being transmitted; a second signal line having a second signal wherein said second signal assumes said first signal value when said second data bit value is being transmitted and said second signal assumes said second signal value when said first data bit value is being transmitted and said second signal assumes said third signal value when no data is being transmitted; and a strobe signal, said strobe signal indicating when said first data bit value and said second data bit value should be latched, said strobe signal being generated from a difference between said first signal and said second signal.
 2. The data transmission of claim 1 wherein when said first signal assumes said third signal value and said second signal assumes said third signal value said difference is less than a threshold value and said strobe signal indicates that no data bit value should be latched.
 3. Digital data transmission, comprising: a first signal line having a first signal wherein said first signal assumes a first signal value when a first data bit value is being transmitted and said first signal assumes a second signal value when a second data bit value is being transmitted and said first signal assumes said second signal value when no data is being transmitted; a second signal line having a second signal wherein said second signal assumes said first signal value when said second data bit value is being transmitted and said second signal assumes said second signal value when said first data bit value is being transmitted and said second signal assumes said second signal value when no data is being transmitted; and a strobe signal, said strobe signal indicating when said first data bit value and said second data bit value should be latched, said strobe signal being generated from a difference between said first signal and said second signal.
 4. The data transmission of claim 3 wherein when said first signal assumes said second signal value and said second signal assumes said second signal value said difference is less than a threshold value and said strobe signal indicates that no data bit value should be latched.
 5. A method of transmitting digital data, comprising: driving a first signal to a first signal value to transmit a first data bit value; driving said first signal to a second signal value to transmit a second data bit value; driving said first signal to a third signal value when no data is being transmitted; driving a second signal to the second signal value to transmit said first data bit value; driving said second signal to the first signal value to transmit a second data bit value; driving said second signal to the third signal value when no data is being transmitted; and generating a strobe, said strobe being generated by a difference between said first signal and said second signal; latching said first data bit value and said second data bit value using said strobe.
 6. The method of claim 5 , wherein said step of generating a strobe comprises comparing said first signal and said second signal and when said difference is greater than a threshold value generating said strobe.
 7. A method of transmitting digital data, comprising: driving a first signal to a first signal value to transmit a first data bit value; driving said first signal to a second signal value to transmit a second data bit value; driving said first signal to the second signal value when no data is being transmitted; driving a second signal to the second signal value to transmit said first data bit value; driving said second signal to the first signal value to transmit a second data bit value; driving said second signal to the second signal value when no data is being transmitted; and generating a strobe, said strobe being generated by a difference between said first signal and said second signal; latching said first data bit value and said second data bit value using said strobe.
 8. The method of claim 5 , wherein said step of generating a strobe comprises comparing said first signal and said second signal and when said difference is greater than a threshold value generating said strobe. 